import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


// 导入 element-plus
import ElementPlus from "element-plus";
// 导入 element-plus 样式
import 'element-plus/theme-chalk/index.css'
import 'element-plus/dist/index.css'
// 导入 element-plus 图标
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
//注册所有图标
const app = createApp(App)
app.use(ElementPlus).use(store).use(router).mount('#app')

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}